/**
 * @Description
 * @author 20155870 杨润增
 * @create 2018-06-09 21:39
 **/
package com.campus_information_portal.service;

import com.campus_information_portal.entity.Punish;
import com.campus_information_portal.util.Message;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

/**
 * @className PunishService
 * @Description
 * @author
 * @create 2018-06-09 21:39
 **/
@Service
public interface PunishService {
    //查询所有处分
    Message queryAllPunish();

    //按学号查询处分
    Message queryPunishByStuNum(Integer stuNum);

    //增加
    Message addPunish(Punish punish);

    //删除
    Message deletePunish(Integer punishId);

    //修改内容
    Message editPunish(Integer punishId,String punishType);

    //修改状态
    Message editPunishStatus(Integer punishId,Integer status);
}
